=head1 TITLE

fun.pir - The FUN language from "Practical Static Analysis"

=head2 Description

This is the base file for the FUN language interpreter.

This file includes the parsing and grammar rules from
the src/ directory, loads the relevant PGE libraries,
and registers the compiler under the name 'FUN'.

=head2 Functions

=over 4

=cut

.include 'src/compiler.pir'

.namespace [ 'FUN' ]

=item main([arg1, ...]) :main

Start the compiler from the command line.  We simply pass any
command line argument's to the FUN compiler's <command_line>
method (inherited from C<HLLCompiler>).

=cut

.sub 'main' :main
    .param pmc args
    $P0 = compreg 'FUN'
    .return $P0.'command_line'(args)
.end


=back

=head1 AUTHOR

Andrew N. Parker <aparker42@gmail.com>
Patrick R. Michaud <pmichaud@pobox.com>

=cut


# Local Variables:
#   mode: pir
#   fill-column: 100
# End:
# vim: expandtab shiftwidth=4:
